﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ListarClientes.aspx.vb" Inherits="CapaPresentacion.ListarClientes" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 267px;
        }
        .auto-style2 {
        }
        .auto-style3 {
            width: 67px;
        }
    </style>
</head>
<body>
    <h1>Listado de clientes</h1>
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td class="auto-style3">Buscar</td>
                <td class="auto-style1">
                    <asp:TextBox ID="txtBuscar" runat="server" Width="269px"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="btnBuscar" runat="server" Text="Buscar" />&nbsp;
                    <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" />
                </td>
            </tr>
            <tr>
                <td class="auto-style2" colspan="3">&nbsp;</td>
            </tr>
        </table>
    
    </div>
        <asp:GridView ID="dvClientes" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Width="624px" AutoGenerateColumns="False" PageSize="5" AllowPaging="True">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:ButtonField CommandName="Eliminar" HeaderText="Eliminar" Text="Eliminar" />
                <asp:ButtonField HeaderText="Editar" Text="Editar" CommandName="Actualizar" />
                <asp:BoundField DataField="codigo" HeaderText="Código" />
                <asp:BoundField DataField="nombres" HeaderText="Nombres" />
                <asp:BoundField DataField="apellidos" HeaderText="Apellidos" />
                <asp:BoundField DataField="correo" HeaderText="Correo" />
            </Columns>
            <EditRowStyle BackColor="#7C6F57" />
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F8FAFA" />
            <SortedAscendingHeaderStyle BackColor="#246B61" />
            <SortedDescendingCellStyle BackColor="#D4DFE1" />
            <SortedDescendingHeaderStyle BackColor="#15524A" />
        </asp:GridView>
    </form>
</body>
</html>
